Skip to content

docs: Make r2_score doctest robust to rounding - #128

Merged
sethaxen merged 2 commits into
mainfrom
fix-julia-1.13-r2-doctest
Sep 14, 2026
Merged

sethaxen merged 2 commits into
mainfrom
fix-julia-1.13-r2-doctest

Conversation

@sethaxen

@sethaxen sethaxen commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

Julia 1.13 changes the final bit of the displayed r2 value, causing the documentation doctest to fail. Add a local doctest filter that compares the r2 value through three decimal places while leaving the rendered example unchanged.

Validation: full documentation build passes locally with Julia 1.13.0.

@codecov

codecov Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.29%. Comparing base (84dc228) to head (3904a41).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #128   +/-   ##
=======================================
  Coverage   93.29%   93.29%           
=======================================
  Files          24       24           
  Lines         537      537           
=======================================
  Hits          501      501           
  Misses         36       36           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sethaxen sethaxen changed the title Make r2_score doctest robust to rounding docs: Make r2_score doctest robust to rounding Sep 14, 2026
@sethaxen
sethaxen merged commit a23b365 into main Sep 14, 2026
11 checks passed
@sethaxen
sethaxen deleted the fix-julia-1.13-r2-doctest branch September 14, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant